/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package categoria;

/**
 *
 * @author Alberto
 */
public class CategoriaNaoCadastradoException extends Exception {
    
    private String strMsg = "Categoria não Cadastrada";
    
    public CategoriaNaoCadastradoException(Throwable cause) {
        super(cause);
    }

    public CategoriaNaoCadastradoException(String message, Throwable cause) {
        super(message, cause);
    }

    public CategoriaNaoCadastradoException(String message) {
        super(message);
    }

    public CategoriaNaoCadastradoException() {
    }
    
    @Override
    public String getMessage(){
        return this.strMsg;
    }
}
